<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<jsp:include page="../common/header.jsp"></jsp:include>
  <header class="navbar navbar-static-top" id="top" role="banner">
  <div class="container">
    <div class="navbar-header" style="text-align: center;">
      <a href="/" class="navbar-brand">小木学堂JFinal课程案例-配置常量-上传路径</a>
    </div>
  </div>
</header>
<div id="main" class="container">
  <div class="row">
   <div class="col-lg-6 col-ms-6 col-sm-6">
   <form action="user/upload"  method="post" enctype="multipart/form-data">
   	<div class="form-group">
   	<label>文件：</label>
   	<input name="img"  type="file" class="form-control" placeholder="选择文件">
   	</div>
   	<div style="text-align: center">
   	<button type="submit" class="btn btn-primary" style="width:120px;">提  交</button>
   	</div>
   </form>
   </div>
   </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
     
</div>
<jsp:include page="../common/footer.jsp"></jsp:include>
